package implementations.wagen;

import interfaces.WagenInterface;

public abstract class Wagen implements WagenInterface
{

	@Override
	public abstract double kapazitaet();

	@Override
	public abstract double masse();

	public String toString()
	{
		String str = "";
		str = this.getClass().getSimpleName() + ": kapazitaet: " + this.kapazitaet() + " masse: "
				+ this.masse();
		return str;
	}

}
